package com.briup.service;

import com.briup.bean.Order;
import com.briup.bean.User;

import java.math.BigDecimal;
import java.util.List;
public interface IOrderService {

    List<Order> findUserAllOrders(Long userId);

    void saveOrder(Long [] shopCarIds, User user, Long addressId, String id, BigDecimal sumPrice);

    void paySuccess(String orderId);

    Order findById(String orderId);

    void deleteOrder(String orderId);
}
